// -----------------------------------------------
// Author:     code34 nicolas_boiteux@yahoo.fr
// Edited by:  Neumatic
// Warcontext: Restore body with good clothes
// -----------------------------------------------

private ["_killer","_dummy"];

_killer = _this select 0;

wcbackupbody setPos wcbackupposition;
wcbackupbody addEventHandler ["HandleDamage", { 
	(_this select 0) setDamage ((getDammage (_this select 0)) + (_this select 2));
}];

waitUntil {alive player};
_dummy = player;
player setPos getMarkerPos "initpos";
selectPlayer wcbackupbody;
(findDisplay 46) displayAddEventHandler ["KeyDown", "_this call WC_fnc_keymapper;"];
deleteVehicle _dummy;